//
//  YDYStatusViewModel.h
//  DY_Weibo3
//
//  Created by 杨德勇 on 2016/8/22.
//  Copyright © 2016年 杨德勇. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YDYStatus.h"
@interface YDYStatusViewModel : NSObject
/** 原始微博数据 */
@property (nonatomic, strong) YDYStatus *status;

/*******修改后的属性*****/
/** 微博创建时间 */
@property (nonatomic, copy) NSString *created_at;
/** id */
@property (nonatomic, strong) NSNumber *idStr;
/** 文字内容 */
@property (nonatomic, copy) NSString *text;
/** 来源 */
@property (nonatomic, copy) NSString *source;
/** 发布此微博的用户 */
@property (nonatomic, strong) YDYUser *user;
/** 微博图片地址数组 */
@property (nonatomic, strong) NSArray *pic_urls;

-(instancetype)initWithYDYStatus:(YDYStatus *)status;
+(instancetype)YDYStatusViewModelWithStatus:(YDYStatus *)status;
-(void)cacheImages:(void(^)())cacheFinished;
@end
